package com.gtxc.kotlinmvvm.ui.activity;

import android.graphics.Color;
import android.os.Bundle;
import android.view.View;


import com.aleyn.mvvm.base.BaseActivity;
import com.aleyn.mvvm.base.BaseViewModel;
import com.drake.statusbar.StatusBarKt;
import com.gtxc.kotlinmvvm.R;
import com.gtxc.kotlinmvvm.databinding.ActivityAgentNodeBinding;
import com.gtxc.kotlinmvvm.viewmodle.AgentNodeViewModle;
import com.gtxc.kotlinmvvm.BR;
import org.jetbrains.annotations.Nullable;

/**
 * FileName:AgentNodeActivity
 * Author：Administrator
 * Date:2021 2021/9/29 11:21
 * Copyright (C), 2020-2021,成都拇音科技有限公司
 * <p>
 * <p>
 * Description: 代理节点
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
//代理节点界面
public class AgentNodeActivity extends BaseActivity<AgentNodeViewModle, ActivityAgentNodeBinding> {
    @Override
    public int layoutId() {
        return R.layout.activity_agent_node;
    }

    @Override
    public void initView(@Nullable Bundle savedInstanceState) {
        StatusBarKt.immersive(this, getResources().getColor(R.color.colorbufn), true);
        getMBinding().toolbar.setTitleBackgroundColor(Color.WHITE);
        getMBinding().toolbar.setLeftBackgroundColor(R.mipmap.left_back);
        getMBinding().toolbar.setOnLeftClickListener(v -> finish());
    }

    @Override
    public void initData() {

    }

    @Override
    public void initCLick() {

    }

    @Override
    public int variableID() {
        return BR.AgentNodeViewModle;
    }

    @Override
    public void bindViewModel() {

    }
}
